<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>XTI Aula 04 - Capturando Eventos</title>
</head>
<body>
	<script>
		function ligarLampada()
		{
			document.getElementById('lampada').src = "pic_bulbon.jpg";
		}
	</script>
	<img id="lampada" onclick="ligarLampada();" src="pic_bulboff.jpg">
</body>
</html>